package com.lmn.shardingsphere;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("com.lmn.shardingsphere.dao.mapper")
@SpringBootApplication
@EnableTransactionManagement
public class ShardingSphereApplication {

    private static final Logger LOG = LoggerFactory.getLogger(ShardingSphereApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ShardingSphereApplication.class, args);
        LOG.info("启动成功");
    }

}
